package com.nwpu.coursesupport.service.param;

import java.util.List;

import com.nwpu.coursesupport.criteria.ClassStudentSearchCriteria;
import com.nwpu.coursesupport.entity.ClassStudent;

public class ClassStudentServiceParam{
    public static class CreateParam extends ClassStudent{
        
    }
    
    public static class CreateByExcelParam{
    	private String key;
    	private int classId;
    	
		public String getKey() {
			return key;
		}
		public void setKey(String key) {
			this.key = key;
		}
		public int getClassId() {
			return classId;
		}
		public void setClassId(int classId) {
			this.classId = classId;
		}
    	
    }
    
    public static class CreateClassItem{
    	private String studentCode;
    	private String classNumber;
    	private String name;
		public String getStudentCode() {
			return studentCode;
		}
		public void setStudentCode(String studentCode) {
			this.studentCode = studentCode;
		}
		public String getClassNumber() {
			return classNumber;
		}
		public void setClassNumber(String classNumber) {
			this.classNumber = classNumber;
		}
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
    }
    
    public static class BatchCreateClassParam{
    	private int classId;
    	private List<CreateClassItem> list;
		public int getClassId() {
			return classId;
		}
		public void setClassId(int classId) {
			this.classId = classId;
		}
		public List<CreateClassItem> getList() {
			return list;
		}
		public void setList(List<CreateClassItem> list) {
			this.list = list;
		}
    }
    
    public static class BatchCreateParam{
    	private int classId;
    	private List<Integer> studentId;
		public int getClassId() {
			return classId;
		}
		public void setClassId(int classId) {
			this.classId = classId;
		}
		public List<Integer> getStudentId() {
			return studentId;
		}
		public void setStudentId(List<Integer> studentId) {
			this.studentId = studentId;
		}
    }
    
    public static class UpdateParam extends ClassStudent{
        
    }
    
    public static class SearchViewParam{
    	private Integer classId;
    	private int pageNo;
		public Integer getClassId() {
			return classId;
		}
		public void setClassId(Integer classId) {
			this.classId = classId;
		}
		public int getPageNo() {
			return pageNo;
		}
		public void setPageNo(int pageNo) {
			this.pageNo = pageNo;
		}
    }
    
    public static class SearchParam{
        private ClassStudentSearchCriteria search;
        private int pageNo;
        private String keyword;
        public ClassStudentSearchCriteria getSearch() {
            return search;
        }
        public void setSearch(ClassStudentSearchCriteria search) {
            this.search = search;
        }
        public int getPageNo() {
            return pageNo;
        }
        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }
        public String getKeyword() {
            return keyword;
        }
        public void setKeyword(String keyword) {
            this.keyword = keyword;
        }
    }
}
